home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ADA Programming Guide
/
ADA Programming Guide.iso
/
adatutor
/
lrmrdr
/
part1.rc
< prev
next >
Wrap
Text File
|
1996-01-30
|
20KB
|
283 lines
date: 5 29 1992 page: 1
/home3/conn/lrm/command.REP_COM
Score Good Total |Level------- Metric Name
0.66 1133 1722 |1----------- RELIABILITY
0.67 1882 2808 |1----------- MAINTAINABILITY
0.92 6024 6528 |1----------- PORTABILITY
0.86 7523 8742 |1----------- ALL_CRITERIA
578 | 2---------- SLOC
1374 | 3--------- PHYSICAL_LINES
984 | 4-------- PHYSICAL_ADA_LINES
914 | 5------- ADA_UNCOMMENTED_LINES
70 | 5------- ADA_COMMENTED_LINES
70 | 6------ COMMENTED_LINES_WITH_TEXT
0 | 6------ COMMENTED_LINES_BLANK
198 | 4-------- PHYSICAL_COMMENT_LINES
198 | 5------- COMMENT_LINES_WITH_TEXT
0 | 5------- COMMENT_LINES_BLANK
192 | 4-------- PHYSICAL_BLANK_LINES
578 | 3--------- LOGICAL_LINES
555 | 4-------- STATEMENTS
407 | 5------- EXECUTABLE_STATEMENTS
148 | 5------- DECLARATIVE_STATEMENTS
23 | 4-------- CONTEXT_CLAUSES
18 | 5------- WITH_CLAUSES
5 | 5------- USE_CLAUSES
0 | 4-------- PRAGMAS
0.31 80 255 | 2---------- ANOMALY_MANAGEMENT
0.22 27 123 | 3--------- PREVENTION
0.05 3 63 | 4-------- APPLICATIVE_DECLARATIONS
0 0 | 5------- APPLICATIVE_DECL_SPECIFICATION
0.05 3 63 | 5------- APPLICATIVE_DECL_BODY
0.39 23 59 | 4-------- DEFAULT_INITIALIZATION
0 0 | 5------- DEFAULT_INIT_SPECIFICATION
0.39 23 59 | 5------- DEFAULT_INIT_BODY
0 0 | 4-------- NORMAL_LOOPS
0 0 | 4-------- CONSTRAINED_NUMERICS
1.00 1 1 | 4-------- CONSTRAINED_SUBTYPE
0 0 | 4-------- CONSTRAINED_VARIANT_RECORDS
0.39 50 129 | 3--------- DETECTION
0 0 | 4-------- SUPPRESS_PRAGMA
0 | 5------- CONSTRAINT_ERROR
0 | 5------- PROGRAM_ERROR
0 | 5------- STORAGE_ERROR
0 | 5------- NUMERIC_ERROR
0.39 50 129 | 4-------- USER_TYPES
0.35 18 52 | 5------- USER_TYPES_FOR_PARAMETERS
0 0 | 5------- USER_TYPES_SPECIFICATION
0.42 32 77 | 5------- USER_TYPES_BODY
1.00 3 3 | 3--------- RECOVERY
1.00 3 3 | 4-------- USER_EXCEPTIONS_RAISED
0.98 5561 5679 | 2---------- INDEPENDENCE
0.96 1921 2002 | 3--------- IO_INDEP
0 | 4-------- NO_MISSED_CLOSE
0.97 1213 1255 | 4-------- NO_SYS_DEP_IO
0.95 708 747 | 4-------- IO_NON_MIX
0.99 611 613 | 3--------- TASK_INDEP
0.99 565 566 | 4-------- NO_TASK_STMT
0.98 46 47 | 4-------- TASK_STMT_NON_MIX
0.98 1769 1804 | 3--------- MACH_INDEP
date: 5 29 1992 page: 2
/home3/conn/lrm/command.REP_COM
Score Good Total |Level------- Metric Name
0.00 0 34 | 4-------- MACHARITHINDEP
0 0 | 5------- PACKAGE_ARITH_INDEP
0 | 6------ NO_MAX_INT
0 | 6------ NO_MIN_INT
0 | 6------ NO_MAX_DIGITS
0 | 6------ NO_MAX_MANTISSA
0 | 6------ NO_FINE_DELTA
0 | 6------ NO_TICK
0 | 5------- NO_INTEGER_DECL
0 | 5------- NO_SHORT_INTEGER_DECL
0 | 5------- NO_LONG_INTEGER_DECL
0 | 5------- NO_FLOAT_DECL
0 | 5------- NO_SHORT_FLOAT_DECL
0 | 5------- NO_LONG_FLOAT_DECL
34 | 5------- NO_NATURAL_DECL
0 | 5------- NO_POSITIVE_DECL
0 0 | 5------- FIXED_CLAUSE
1.00 10 10 | 4-------- MACHREPINDEP
0 | 5------- NO_PRAGMA_PACK
1.00 1 1 | 5------- NUMERIC_CONSTANT_DECL
0 0 | 5------- NUMERIC_TYPE_DECLARATIONS
1.00 9 9 | 5------- CLAUSE_REP_INDEP
1.00 5 5 | 6------ NO_LENGTH_CLAUSE_FOR_SIZE
0 0 | 6------ NO_LENGTH_CLAUSE_FOR_STORAGE_SIZE
1.00 2 2 | 6------ NO_ALIGNMENT_CLAUSE_FOR_RECORD_TYPES
1.00 2 2 | 6------ NO_COMPONENT_CLAUSE_FOR_RECORD_TYPES
0.99 1317 1318 | 4-------- MACHCONFIGINDEP
1.00 63 63 | 5------- NO_ADDRESS_CLAUSE_IN_DECL
0 | 5------- NO_PRAG_SYS_PARAM
0.99 1254 1255 | 5------- NO_REP_ATTRIBUTE
1.00 442 442 | 4-------- MACHCODEINDEP
1.00 442 442 | 5------- NO_MACH_CODE_STMT
1.00 1260 1260 | 3--------- SOFT_INDEP
1.00 1255 1255 | 4-------- NO_SYS_DEP_MOD
0 | 4-------- NO_IMPL_DEP_PRAGMAS
0 | 4-------- NO_PRAGMA_INTERFACE
1.00 5 5 | 4-------- NON_ACCESS_TYPE
0 | 4-------- NO_IMPL_DEP_ATTRS
0 0 | 3--------- PHYS_LIM_INDEP
0 0 | 4-------- COMPILER_LIMIT
1.00 132 132 | 2---------- MODULARITY
1.00 69 69 | 3--------- INFORMATION_HIDING
1.00 69 69 | 4-------- HIDDEN_INFORMATION
1.00 3 3 | 5------- CONSTANTS_HID
0 0 | 5------- EXCEPTIONS_HID
1.00 60 60 | 5------- VARIABLES_HID
1.00 5 5 | 5------- TYPES_HID
1.00 1 1 | 5------- SUBTYPES_HID
0 0 | 5------- TASKS_HID
0 0 | 4-------- PRIVATE_INFORMATION
0 0 | 5------- PRIVATE_TYPES
0 0 | 5------- LIMITED_PRIVATE_TYPES
0 0 | 5------- PRIVATE_TYPE_AND_PART
0 0 | 5------- PRIVATE_TYPE_AND_CONSTANT
1.00 63 63 | 3--------- PROFILE
1.00 60 60 | 4-------- LIMITED_SIZE_PROFILE
date: 5 29 1992 page: 3
/home3/conn/lrm/command.REP_COM
Score Good Total |Level------- Metric Name
1.00 3 3 | 4-------- SIMPLE_BLOCKS
0 0 | 3--------- COUPLING
0 0 | 4-------- NO_MULTIPLE_TYPE_DECLARATIONS
0 0 | 4-------- NO_VARIABLE_DECLARATIONS_IN_SPEC
0.46 331 717 | 2---------- SELF_DESCRIPTIVENESS
0.27 145 528 | 3--------- COMMENTS
0.26 86 329 | 4-------- N_COMMENTS
0 0 | 5------- NCS_SPEC
0 0 | 6------ NCS_PACKAGE_SPEC
0 0 | 6------ NCS_TASK_SPEC
0 0 | 6------ NCS_SUBPROG_SPEC
0.33 62 190 | 5------- NCS_BODY
0.12 3 25 | 6------ NCS_PACKAGE_BODY
0 0 | 6------ NCS_TASK_BODY
0.36 59 165 | 6------ NCS_SUBPROG_BODY
0 0 | 6------ NCS_SUBUNIT
0 0 | 6------ NCS_BODY_STUB
0.12 9 76 | 5------- NCS_STATEMENTS
0.00 0 9 | 6------ NCS_EXIT
0.00 0 43 | 6------ NCS_RETURN
0 0 | 6------ NCS_GOTO
0 0 | 6------ NCS_ABORT
1.00 1 1 | 6------ NCS_DELAY
0 0 | 6------ NCS_TERMINATE
0.17 3 18 | 6------ NCS_WITH
1.00 5 5 | 6------ NCS_USE
0.24 15 63 | 5------- NCS_DECLARATIONS
0 0 | 6------ NCS_PRAGMA
0 0 | 6------ NCS_RECORD_REPRESENTATION
0 0 | 6------ NCS_ADDRESS_CLAUSE
0 0 | 6------ NCS_ALIGNMENT_CLAUSE
0 0 | 6------ NCS_LENGTH_CLAUSE
1.00 3 3 | 6------ NCS_CONSTANT_DECL
0.20 12 60 | 6------ NCS_VARIABLE_DECL
0 0 | 6------ NCS_ENTRY_DECL
0.30 59 199 | 4-------- N_COMMENTED
0 0 | 5------- NCO_SPEC
0 0 | 6------ NCO_PACKAGE_SPEC
0 0 | 6------ NCO_TASK_SPEC
0 0 | 6------ NCO_SUBPROG_SPEC
0.68 41 60 | 5------- NCO_BODY
0.20 1 5 | 6------ NCO_PACKAGE_BODY
0 0 | 6------ NCO_TASK_BODY
0.73 40 55 | 6------ NCO_SUBPROG_BODY
0 0 | 6------ NCO_SUBUNIT
0 0 | 6------ NCO_BODY_STUB
0.11 8 76 | 5------- NCO_STATEMENTS
0.00 0 9 | 6------ NCO_EXIT
0.00 0 43 | 6------ NCO_RETURN
0 0 | 6------ NCO_GOTO
0 0 | 6------ NCO_ABORT
1.00 1 1 | 6------ NCO_DELAY
0 0 | 6------ NCO_TERMINATE
0.17 3 18 | 6------ NCO_WITH
0.80 4 5 | 6------ NCO_USE
0.16 10 63 | 5------- NCO_DECLARATIONS
date: 5 29 1992 page: 4
/home3/conn/lrm/command.REP_COM
Score Good Total |Level------- Metric Name
0 0 | 6------ NCO_PRAGMA
0 0 | 6------ NCO_RECORD_REPRESENTATION
0 0 | 6------ NCO_ADDRESS_CLAUSE
0 0 | 6------ NCO_ALIGNMENT_CLAUSE
0 0 | 6------ NCO_LENGTH_CLAUSE
1.00 3 3 | 6------ NCO_CONSTANT_DECL
0.12 7 60 | 6------ NCO_VARIABLE_DECL
0 0 | 6------ NCO_ENTRY_DECL
0.98 186 189 | 3--------- IDENTIFIER
0.98 186 189 | 4-------- NO_PREDEFINED_WORDS
0.72 1053 1467 | 2---------- SIMPLICITY
0.96 80 83 | 3--------- CODING_SIMPLICITY
0.96 78 81 | 4-------- SIMPLE_BOOLEAN_EXPRESSION
1.00 2 2 | 4-------- EXPRES_TO_DO_BOOLEAN_ASSIGN
0.39 98 250 | 3--------- DESIGN_SIMPLICITY
0.68 81 120 | 4-------- CALLS_TO_PROCEDURES
0.67 2 3 | 4-------- ARRAY_TYPE_EXPLICIT
0.25 1 4 | 4-------- SUBTYPE_EXPLICIT
0.00 0 2 | 4-------- ARRAY_RANGE_TYPE_EXPLICIT
0.12 14 121 | 4-------- DECLARATIONS_CONTAIN_LITERALS
0.77 875 1134 | 3--------- FLOW_SIMPLICITY
0.82 120 147 | 4-------- BRANCH_CONSTRUCTS
0.82 45 55 | 4-------- SINGLE_EXIT_SUBPROGRAM
0.94 17 18 | 4-------- FOR_LOOPS
1.00 60 60 | 4-------- LEVEL_OF_NESTING_BY_MODULE
1.00 62 62 | 4-------- LEVEL_OF_NESTING
0.68 100 147 | 4-------- STRUCTURED_BRANCH_CONSTRUCT
0.88 129 147 | 4-------- NON_BACK_BRANCH_CONSTRUCT
0 0 | 4-------- NO_LABELS
0.81 79 98 | 4-------- DECISIONS
0 0 | 4-------- GOTOS
0.53 147 280 | 4-------- BRANCH_AND_NESTING
0.97 58 60 | 4-------- CYCLOMATIC_COMPLEXITY
0.97 58 60 | 4-------- MULTIPLE_COND_CYCLOMATIC_COMPLEXITY
0.74 366 492 | 2---------- SYSTEM_CLARITY
0.74 366 492 | 3--------- STYLE
0.72 105 145 | 4-------- EXPRESSION_STYLE
0.96 78 81 | 5------- NON_NEGATED_BOOLEAN_EXPRESSIONS
0.31 9 29 | 5------- EXPRESSIONS_PARENTHESIZED
0.94 17 18 | 5------- NO_WHILE_LOOPS
0.06 1 17 | 5------- FOR_LOOPS_WITH_TYPE
0.99 107 108 | 4-------- DECLARATION_STYLE
1.00 15 15 | 5------- NO_DEFAULT_MODE_PARAMETERS
0 0 | 5------- PRIVATE_ACCESS_TYPES
0.99 91 92 | 5------- SINGLE_OBJECT_DECLARATION_LISTS
1.00 1 1 | 5------- SINGLE_IMPLICIT_TYPE_ARRAY
0 0 | 5------- NO_INITIALIZATION_BY_NEW
0.57 65 115 | 4-------- NAMING_STYLE
0.05 1 21 | 5------- STRUCTURES_NAMED
0.06 1 18 | 6------ NAMED_LOOPS
0.00 0 3 | 6------ NAMED_BLOCKS
0.75 61 81 | 5------- STRUCTURE_ENDS_WITH_NAME
1.00 60 60 | 6------ MODULE_END_WITH_NAME
0.06 1 18 | 6------ LOOP_END_WITH_NAME
0.00 0 3 | 6------ BLOCK_END_WITH_NAME
0.11 1 9 | 5------- NAMED_EXITS
date: 5 29 1992 page: 5
/home3/conn/lrm/command.REP_COM
Score Good Total |Level------- Metric Name
0.50 2 4 | 5------- NAMED_AGGREGATE
0.72 89 124 | 4-------- QUALIFICATION_STYLE
0.25 1 4 | 5------- QUALIFIED_AGGREGATE
0.73 88 120 | 5------- QUALIFIED_SUBPROGRAM
STATUS PAGE FOR COMPOSITE REPORT
/home3/conn/lrm/command.REP_COM
COMMAND LINE:
report -unit -status *.ads *.adb *.ada *.a
CONTROL FILES:
/home2/adamat_1d/product_library/ADDSETFILE.
/home2/adamat_1d/product_library/METRICS.
/home2/adamat_1d/product_library/MERGE.
/home2/adamat_1d/product_library/REPORT_FORMAT.
SETTINGS USED FOR REPORT COMMAND QUALIFIERS:
ADHERENCES NEGATED
BODY PRESENT
CLOSURE NEGATED
COMPARE NEGATED
COMPOSITE PRESENT
CONTEXT NEGATED
FILE_LIST NEGATED
LOG PRESENT
SPECIFICATION PRESENT
STATUS PRESENT
SUBUNITS PRESENT
SYNTAX_ONLY PRESENT
UNIT PRESENT
UNIT NAMES RESOLVED FROM REPORT PARAMETER:
COMMAND_DISPATCHER
SCREEN_DISPLAY_CONTROLLER
PRIMITIVE_CITATION_HANDLER
CITATION_HANDLER
PRINT_LOG_HANDLER